home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / M / M2TSkel.cpt / M2TSkel / MultiSkelHelp.mod < prev    next >
MacBinary  |  1987-04-17  |  8.0 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: MultiSkelHelp.mod

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert SoundTracker Module (music/soundTracker) ext Supported
65% dexvert Chip Tracker Module (music/chipTracker) ext Supported
64% dexvert Protracker Module (music/mod) ext Supported
63% dexvert Octalyser Module (music/octalyser) ext Supported
61% dexvert Star Tracker/StarTrekker Module (music/starTracker) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert PollyTracker Module (music/pollyTracker) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri Apr 17 19:57:07 1987, modified Fri Apr 17 19:57:07 1987, creator 'MPS ', type ASCII, 7620 bytes "MultiSkelHelp.mod" , at 0x1e44 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 4d 75 6c 74 69 53 | 6b 65 6c 48 65 6c 70 2e |..MultiS|kelHelp.|
|00000010| 6d 6f 64 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |mod.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 1d c4 00 | 00 01 7e 9c ac 71 d3 9c |........|..~..q..|
|00000060| ac 71 d3 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.q......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 99 91 00 00 |........|........|
|00000080| 49 4d 50 4c 45 4d 45 4e | 54 41 54 49 4f 4e 20 4d |IMPLEMEN|TATION M|
|00000090| 4f 44 55 4c 45 20 4d 75 | 6c 74 69 53 6b 65 6c 48 |ODULE Mu|ltiSkelH|
|000000a0| 65 6c 70 3b 0d 0d 46 52 | 4f 4d 20 53 59 53 54 45 |elp;..FR|OM SYSTE|
|000000b0| 4d 20 49 4d 50 4f 52 54 | 20 41 44 44 52 45 53 53 |M IMPORT| ADDRESS|
|000000c0| 2c 20 41 44 52 2c 20 53 | 41 56 45 52 45 47 53 3b |, ADR, S|AVEREGS;|
|000000d0| 0d 46 52 4f 4d 20 51 75 | 69 63 6b 44 72 61 77 20 |.FROM Qu|ickDraw |
|000000e0| 49 4d 50 4f 52 54 20 52 | 65 63 74 2c 20 45 72 61 |IMPORT R|ect, Era|
|000000f0| 73 65 52 65 63 74 2c 20 | 54 65 78 74 46 6f 6e 74 |seRect, |TextFont|
|00000100| 2c 20 54 65 78 74 53 69 | 7a 65 2c 20 50 6f 69 6e |, TextSi|ze, Poin|
|00000110| 74 3b 0d 46 52 4f 4d 20 | 52 65 73 6f 75 72 63 65 |t;.FROM |Resource|
|00000120| 4d 61 6e 61 67 65 72 20 | 49 4d 50 4f 52 54 20 47 |Manager |IMPORT G|
|00000130| 65 74 52 65 73 6f 75 72 | 63 65 2c 20 52 65 6c 65 |etResour|ce, Rele|
|00000140| 61 73 65 52 65 73 6f 75 | 72 63 65 3b 0d 46 52 4f |aseResou|rce;.FRO|
|00000150| 4d 20 4d 65 6d 6f 72 79 | 4d 61 6e 61 67 65 72 20 |M Memory|Manager |
|00000160| 49 4d 50 4f 52 54 20 47 | 65 74 48 61 6e 64 6c 65 |IMPORT G|etHandle|
|00000170| 53 69 7a 65 2c 20 48 4c | 6f 63 6b 2c 20 48 55 6e |Size, HL|ock, HUn|
|00000180| 6c 6f 63 6b 3b 0d 46 52 | 4f 4d 20 4d 65 6e 75 4d |lock;.FR|OM MenuM|
|00000190| 61 6e 61 67 65 72 20 49 | 4d 50 4f 52 54 20 45 6e |anager I|MPORT En|
|000001a0| 61 62 6c 65 49 74 65 6d | 2c 20 44 69 73 61 62 6c |ableItem|, Disabl|
|000001b0| 65 49 74 65 6d 2c 20 44 | 72 61 77 4d 65 6e 75 42 |eItem, D|rawMenuB|
|000001c0| 61 72 3b 0d 46 52 4f 4d | 20 57 69 6e 64 6f 77 4d |ar;.FROM| WindowM|
|000001d0| 61 6e 61 67 65 72 20 49 | 4d 50 4f 52 54 20 57 69 |anager I|MPORT Wi|
|000001e0| 6e 64 6f 77 50 74 72 2c | 20 56 61 6c 69 64 52 65 |ndowPtr,| ValidRe|
|000001f0| 63 74 2c 20 47 65 74 4e | 65 77 57 69 6e 64 6f 77 |ct, GetN|ewWindow|
|00000200| 2c 20 44 72 61 77 47 72 | 6f 77 49 63 6f 6e 2c 0d |, DrawGr|owIcon,.|
|00000210| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 43 6c 6f |........|.....Clo|
|00000220| 73 65 57 69 6e 64 6f 77 | 3b 0d 46 52 4f 4d 20 43 |seWindow|;.FROM C|
|00000230| 6f 6e 74 72 6f 6c 4d 61 | 6e 61 67 65 72 20 49 4d |ontrolMa|nager IM|
|00000240| 50 4f 52 54 20 43 6f 6e | 74 72 6f 6c 48 61 6e 64 |PORT Con|trolHand|
|00000250| 6c 65 2c 20 4e 65 77 43 | 6f 6e 74 72 6f 6c 2c 20 |le, NewC|ontrol, |
|00000260| 73 63 72 6f 6c 6c 42 61 | 72 50 72 6f 63 2c 20 47 |scrollBa|rProc, G|
|00000270| 65 74 43 74 6c 4d 61 78 | 2c 0d 09 09 09 09 09 09 |etCtlMax|,.......|
|00000280| 09 09 09 09 09 09 09 20 | 54 72 61 63 6b 43 6f 6e |....... |TrackCon|
|00000290| 74 72 6f 6c 2c 20 47 65 | 74 43 52 65 66 43 6f 6e |trol, Ge|tCRefCon|
|000002a0| 2c 20 44 72 61 77 43 6f | 6e 74 72 6f 6c 73 2c 20 |, DrawCo|ntrols, |
|000002b0| 48 69 6c 69 74 65 43 6f | 6e 74 72 6f 6c 2c 0d 09 |HiliteCo|ntrol,..|
|000002c0| 09 09 09 09 09 09 09 09 | 09 09 09 09 20 53 65 74 |........|.... Set|
|000002d0| 43 74 6c 56 61 6c 75 65 | 2c 20 47 65 74 43 74 6c |CtlValue|, GetCtl|
|000002e0| 56 61 6c 75 65 2c 20 44 | 69 73 70 6f 73 65 43 6f |Value, D|isposeCo|
|000002f0| 6e 74 72 6f 6c 2c 20 53 | 65 74 43 52 65 66 43 6f |ntrol, S|etCRefCo|
|00000300| 6e 2c 0d 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |n,......|........|
|00000310| 20 48 69 64 65 43 6f 6e | 74 72 6f 6c 2c 20 53 69 | HideCon|trol, Si|
|00000320| 7a 65 43 6f 6e 74 72 6f | 6c 2c 20 4d 6f 76 65 43 |zeContro|l, MoveC|
|00000330| 6f 6e 74 72 6f 6c 2c 20 | 53 68 6f 77 43 6f 6e 74 |ontrol, |ShowCont|
|00000340| 72 6f 6c 2c 0d 09 09 09 | 09 09 09 09 09 09 09 09 |rol,....|........|
|00000350| 09 09 20 69 6e 54 68 75 | 6d 62 2c 20 69 6e 50 61 |.. inThu|mb, inPa|
|00000360| 67 65 55 70 2c 20 69 6e | 50 61 67 65 44 6f 77 6e |geUp, in|PageDown|
|00000370| 2c 20 69 6e 55 70 42 75 | 74 74 6f 6e 2c 0d 09 09 |, inUpBu|tton,...|
|00000380| 09 09 09 09 09 09 09 09 | 09 09 09 20 69 6e 44 6f |........|... inDo|
|00000390| 77 6e 42 75 74 74 6f 6e | 2c 20 54 65 73 74 43 6f |wnButton|, TestCo|
|000003a0| 6e 74 72 6f 6c 2c 20 53 | 65 74 43 74 6c 4d 61 78 |ntrol, S|etCtlMax|
|000003b0| 3b 0d 46 52 4f 4d 20 54 | 65 78 74 45 64 69 74 20 |;.FROM T|extEdit |
|000003c0| 49 4d 50 4f 52 54 20 54 | 45 48 61 6e 64 6c 65 2c |IMPORT T|EHandle,|
|000003d0| 20 54 45 4e 65 77 2c 20 | 54 45 49 6e 73 65 72 74 | TENew, |TEInsert|
|000003e0| 2c 20 54 45 44 69 73 70 | 6f 73 65 2c 20 54 45 43 |, TEDisp|ose, TEC|
|000003f0| 61 6c 54 65 78 74 2c 20 | 54 45 55 70 64 61 74 65 |alText, |TEUpdate|
|00000400| 2c 0d 09 09 09 09 09 09 | 09 09 09 09 20 54 45 53 |,.......|.... TES|
|00000410| 63 72 6f 6c 6c 2c 20 43 | 68 61 72 73 48 61 6e 64 |croll, C|harsHand|
|00000420| 6c 65 3b 0d 46 52 4f 4d | 20 4d 75 6c 74 69 53 6b |le;.FROM| MultiSk|
|00000430| 65 6c 47 6c 6f 62 61 6c | 73 20 49 4d 50 4f 52 54 |elGlobal|s IMPORT|
|00000440| 20 68 65 6c 70 57 69 6e | 64 52 65 73 2c 20 68 65 | helpWin|dRes, he|
|00000450| 6c 70 57 69 6e 64 2c 20 | 68 65 6c 70 54 65 78 74 |lpWind, |helpText|
|00000460| 52 65 73 2c 20 44 72 61 | 77 47 72 6f 77 42 6f 78 |Res, Dra|wGrowBox|
|00000470| 2c 20 65 64 69 74 4d 65 | 6e 75 3b 0d 46 52 4f 4d |, editMe|nu;.FROM|
|00000480| 20 54 72 61 6e 73 53 6b | 65 6c 20 49 4d 50 4f 52 | TransSk|el IMPOR|
|00000490| 54 20 53 6b 65 6c 57 69 | 6e 64 6f 77 2c 20 57 4b |T SkelWi|ndow, WK|
|000004a0| 65 79 50 72 6f 63 2c 20 | 57 43 6c 6f 73 65 50 72 |eyProc, |WClosePr|
|000004b0| 6f 63 2c 20 57 49 64 6c | 65 50 72 6f 63 3b 0d 0d |oc, WIdl|eProc;..|
|000004c0| 56 41 52 0d 09 74 65 48 | 65 6c 70 3a 20 54 45 48 |VAR..teH|elp: TEH|
|000004d0| 61 6e 64 6c 65 3b 0d 09 | 68 65 6c 70 53 63 72 6f |andle;..|helpScro|
|000004e0| 6c 6c 3a 20 43 6f 6e 74 | 72 6f 6c 48 61 6e 64 6c |ll: Cont|rolHandl|
|000004f0| 65 3b 0d 09 68 65 6c 70 | 4c 69 6e 65 3a 20 49 4e |e;..help|Line: IN|
|00000500| 54 45 47 45 52 3b 0d 09 | 68 65 6c 70 53 63 72 6f |TEGER;..|helpScro|
|00000510| 6c 6c 4c 69 6e 65 73 3a | 20 49 4e 54 45 47 45 52 |llLines:| INTEGER|
|00000520| 3b 0d 09 68 61 6c 66 50 | 61 67 65 3a 20 49 4e 54 |;..halfP|age: INT|
|00000530| 45 47 45 52 3b 0d 0d 0d | 50 52 4f 43 45 44 55 52 |EGER;...|PROCEDUR|
|00000540| 45 20 48 65 6c 70 57 69 | 6e 64 48 61 6c 74 3b 0d |E HelpWi|ndHalt;.|
|00000550| 0d 42 45 47 49 4e 0d 09 | 54 45 44 69 73 70 6f 73 |.BEGIN..|TEDispos|
|00000560| 65 28 74 65 48 65 6c 70 | 29 3b 0d 09 44 69 73 70 |e(teHelp|);..Disp|
|00000570| 6f 73 65 43 6f 6e 74 72 | 6f 6c 28 68 65 6c 70 53 |oseContr|ol(helpS|
|00000580| 63 72 6f 6c 6c 29 3b 0d | 09 43 6c 6f 73 65 57 69 |croll);.|.CloseWi|
|00000590| 6e 64 6f 77 28 68 65 6c | 70 57 69 6e 64 29 3b 0d |ndow(hel|pWind);.|
|000005a0| 45 4e 44 20 48 65 6c 70 | 57 69 6e 64 48 61 6c 74 |END Help|WindHalt|
|000005b0| 3b 0d 0d 0d 28 2a 0d 09 | 53 63 72 6f 6c 6c 20 74 |;...(*..|Scroll t|
|000005c0| 6f 20 74 68 65 20 63 6f | 72 72 65 63 74 20 70 6f |o the co|rrect po|
|000005d0| 73 69 74 69 6f 6e 2e 20 | 20 6c 44 65 6c 74 61 20 |sition. | lDelta |
|000005e0| 69 73 20 74 68 65 20 61 | 6d 6f 75 6e 74 20 62 79 |is the a|mount by|
|000005f0| 20 77 68 69 63 68 20 74 | 6f 20 43 48 41 4e 47 45 | which t|o CHANGE|
|00000600| 0d 09 74 68 65 20 63 75 | 72 72 65 6e 74 20 73 63 |..the cu|rrent sc|
|00000610| 72 6f 6c 6c 20 73 65 74 | 74 69 6e 67 2e 0d 2a 29 |roll set|ting..*)|
|00000620| 0d 0d 50 52 4f 43 45 44 | 55 52 45 20 44 6f 53 63 |..PROCED|URE DoSc|
|00000630| 72 6f 6c 6c 28 6c 44 65 | 6c 74 61 3a 20 49 4e 54 |roll(lDe|lta: INT|
|00000640| 45 47 45 52 29 3b 0d 0d | 09 56 41 52 0d 09 09 6e |EGER);..|.VAR...n|
|00000650| 65 77 4c 69 6e 65 3a 20 | 49 4e 54 45 47 45 52 3b |ewLine: |INTEGER;|
|00000660| 0d 0d 42 45 47 49 4e 0d | 09 6e 65 77 4c 69 6e 65 |..BEGIN.|.newLine|
|00000670| 20 3a 3d 20 68 65 6c 70 | 4c 69 6e 65 20 2b 20 6c | := help|Line + l|
|00000680| 44 65 6c 74 61 3b 0d 09 | 49 46 20 6e 65 77 4c 69 |Delta;..|IF newLi|
|00000690| 6e 65 20 3c 20 30 20 54 | 48 45 4e 20 6e 65 77 4c |ne < 0 T|HEN newL|
|000006a0| 69 6e 65 20 3a 3d 20 30 | 3b 20 45 4e 44 3b 0d 09 |ine := 0|; END;..|
|000006b0| 49 46 20 6e 65 77 4c 69 | 6e 65 20 3e 20 47 65 74 |IF newLi|ne > Get|
|000006c0| 43 74 6c 4d 61 78 28 68 | 65 6c 70 53 63 72 6f 6c |CtlMax(h|elpScrol|
|000006d0| 6c 29 20 54 48 45 4e 20 | 6e 65 77 4c 69 6e 65 20 |l) THEN |newLine |
|000006e0| 3a 3d 20 47 65 74 43 74 | 6c 4d 61 78 28 68 65 6c |:= GetCt|lMax(hel|
|000006f0| 70 53 63 72 6f 6c 6c 29 | 3b 20 45 4e 44 3b 0d 09 |pScroll)|; END;..|
|00000700| 53 65 74 43 74 6c 56 61 | 6c 75 65 28 68 65 6c 70 |SetCtlVa|lue(help|
|00000710| 53 63 72 6f 6c 6c 2c 20 | 6e 65 77 4c 69 6e 65 29 |Scroll, |newLine)|
|00000720| 3b 0d 09 6c 44 65 6c 74 | 61 20 3a 3d 20 28 68 65 |;..lDelt|a := (he|
|00000730| 6c 70 4c 69 6e 65 2d 6e | 65 77 4c 69 6e 65 29 20 |lpLine-n|ewLine) |
|00000740| 2a 20 74 65 48 65 6c 70 | 5e 5e 2e 6c 69 6e 65 48 |* teHelp|^^.lineH|
|00000750| 65 69 67 68 74 3b 0d 09 | 54 45 53 63 72 6f 6c 6c |eight;..|TEScroll|
|00000760| 28 30 2c 20 6c 44 65 6c | 74 61 2c 20 74 65 48 65 |(0, lDel|ta, teHe|
|00000770| 6c 70 29 3b 0d 09 68 65 | 6c 70 4c 69 6e 65 20 3a |lp);..he|lpLine :|
|00000780| 3d 20 6e 65 77 4c 69 6e | 65 3b 0d 45 4e 44 20 44 |= newLin|e;.END D|
|00000790| 6f 53 63 72 6f 6c 6c 3b | 0d 0d 0d 28 2a 0d 09 46 |oScroll;|...(*..F|
|000007a0| 69 6c 74 65 72 20 70 72 | 6f 63 20 66 6f 72 20 74 |ilter pr|oc for t|
|000007b0| 72 61 63 6b 69 6e 67 20 | 6d 6f 75 73 65 64 6f 77 |racking |mousedow|
|000007c0| 6e 20 69 6e 20 73 63 72 | 6f 6c 6c 20 62 61 72 2e |n in scr|oll bar.|
|000007d0| 20 20 54 68 65 20 70 61 | 72 74 20 63 6f 64 65 20 | The pa|rt code |
|000007e0| 6f 66 20 74 68 65 20 70 | 61 72 74 0d 09 6f 72 69 |of the p|art..ori|
|000007f0| 67 69 6e 61 6c 6c 79 20 | 68 69 74 20 69 73 20 73 |ginally |hit is s|
|00000800| 74 6f 72 65 64 20 61 73 | 20 74 68 65 20 63 6f 6e |tored as| the con|
|00000810| 74 72 6f 6c 27 73 20 72 | 65 66 65 72 65 6e 63 65 |trol's r|eference|
|00000820| 20 76 61 6c 75 65 2e 0d | 2a 29 0d 0d 50 52 4f 43 | value..|*)..PROC|
|00000830| 45 44 55 52 45 20 54 72 | 61 63 6b 53 63 72 6f 6c |EDURE Tr|ackScrol|
|00000840| 6c 28 74 68 65 53 63 72 | 6f 6c 6c 3a 20 43 6f 6e |l(theScr|oll: Con|
|00000850| 74 72 6f 6c 48 61 6e 64 | 6c 65 3b 20 70 61 72 74 |trolHand|le; part|
|00000860| 43 6f 64 65 3a 20 49 4e | 54 45 47 45 52 29 3b 0d |Code: IN|TEGER);.|
|00000870| 0d 09 56 41 52 0d 09 09 | 6c 44 65 6c 74 61 3a 20 |..VAR...|lDelta: |
|00000880| 49 4e 54 45 47 45 52 3b | 0d 0d 42 45 47 49 4e 0d |INTEGER;|..BEGIN.|
|00000890| 09 53 41 56 45 52 45 47 | 53 3b 0d 09 49 46 20 56 |.SAVEREG|S;..IF V|
|000008a0| 41 4c 28 4c 4f 4e 47 49 | 4e 54 2c 20 70 61 72 74 |AL(LONGI|NT, part|
|000008b0| 43 6f 64 65 29 20 3d 20 | 47 65 74 43 52 65 66 43 |Code) = |GetCRefC|
|000008c0| 6f 6e 28 74 68 65 53 63 | 72 6f 6c 6c 29 20 54 48 |on(theSc|roll) TH|
|000008d0| 45 4e 0d 09 09 43 41 53 | 45 20 70 61 72 74 43 6f |EN...CAS|E partCo|
|000008e0| 64 65 20 4f 46 0d 09 09 | 09 69 6e 55 70 42 75 74 |de OF...|.inUpBut|
|000008f0| 74 6f 6e 3a 20 6c 44 65 | 6c 74 61 20 3a 3d 20 2d |ton: lDe|lta := -|
|00000900| 31 3b 0d 09 09 09 7c 0d | 09 09 09 69 6e 44 6f 77 |1;....|.|...inDow|
|00000910| 6e 42 75 74 74 6f 6e 3a | 09 6c 44 65 6c 74 61 20 |nButton:|.lDelta |
|00000920| 3a 3d 20 31 3b 0d 09 09 | 09 7c 0d 09 09 09 69 6e |:= 1;...|.|....in|
|00000930| 50 61 67 65 55 70 3a 09 | 6c 44 65 6c 74 61 20 3a |PageUp:.|lDelta :|
|00000940| 3d 20 2d 68 61 6c 66 50 | 61 67 65 3b 0d 09 09 09 |= -halfP|age;....|
|00000950| 7c 0d 09 09 09 69 6e 50 | 61 67 65 44 6f 77 6e 3a ||....inP|ageDown:|
|00000960| 09 6c 44 65 6c 74 61 20 | 3a 3d 20 68 61 6c 66 50 |.lDelta |:= halfP|
|00000970| 61 67 65 3b 0d 09 09 09 | 45 4c 53 45 20 28 2a 20 |age;....|ELSE (* |
|00000980| 44 6f 20 6e 6f 74 68 69 | 6e 67 20 2a 29 0d 09 09 |Do nothi|ng *)...|
|00000990| 45 4e 44 3b 0d 09 09 44 | 6f 53 63 72 6f 6c 6c 28 |END;...D|oScroll(|
|000009a0| 6c 44 65 6c 74 61 29 3b | 0d 09 45 4e 44 3b 0d 45 |lDelta);|..END;.E|
|000009b0| 4e 44 20 54 72 61 63 6b | 53 63 72 6f 6c 6c 3b 0d |ND Track|Scroll;.|
|000009c0| 0d 0d 28 2a 0d 09 48 61 | 6e 64 6c 65 20 68 69 74 |..(*..Ha|ndle hit|
|000009d0| 73 20 69 6e 20 74 68 65 | 20 73 63 72 6f 6c 6c 20 |s in the| scroll |
|000009e0| 62 61 72 0d 2a 29 0d 0d | 50 52 4f 43 45 44 55 52 |bar.*)..|PROCEDUR|
|000009f0| 45 20 48 65 6c 70 57 69 | 6e 64 4d 6f 75 73 65 28 |E HelpWi|ndMouse(|
|00000a00| 74 68 65 50 74 3a 20 50 | 6f 69 6e 74 3b 20 74 3a |thePt: P|oint; t:|
|00000a10| 20 4c 4f 4e 47 49 4e 54 | 3b 20 6d 6f 64 73 3a 20 | LONGINT|; mods: |
|00000a20| 42 49 54 53 45 54 29 3b | 0d 0d 09 56 41 52 0d 09 |BITSET);|...VAR..|
|00000a30| 09 74 68 65 50 61 72 74 | 3a 20 49 4e 54 45 47 45 |.thePart|: INTEGE|
|00000a40| 52 3b 0d 09 09 77 68 6f | 43 61 72 65 73 3a 20 49 |R;...who|Cares: I|
|00000a50| 4e 54 45 47 45 52 3b 0d | 0d 42 45 47 49 4e 0d 09 |NTEGER;.|.BEGIN..|
|00000a60| 74 68 65 50 61 72 74 20 | 3a 3d 20 54 65 73 74 43 |thePart |:= TestC|
|00000a70| 6f 6e 74 72 6f 6c 28 68 | 65 6c 70 53 63 72 6f 6c |ontrol(h|elpScrol|
|00000a80| 6c 2c 20 74 68 65 50 74 | 29 3b 0d 09 49 46 20 74 |l, thePt|);..IF t|
|00000a90| 68 65 50 61 72 74 20 3d | 20 69 6e 54 68 75 6d 62 |hePart =| inThumb|
|00000aa0| 20 54 48 45 4e 0d 09 09 | 77 68 6f 43 61 72 65 73 | THEN...|whoCares|
|00000ab0| 20 3a 3d 20 54 72 61 63 | 6b 43 6f 6e 74 72 6f 6c | := Trac|kControl|
|00000ac0| 28 68 65 6c 70 53 63 72 | 6f 6c 6c 2c 20 74 68 65 |(helpScr|oll, the|
|00000ad0| 50 74 2c 20 4e 49 4c 29 | 3b 0d 09 09 44 6f 53 63 |Pt, NIL)|;...DoSc|
|00000ae0| 72 6f 6c 6c 28 47 65 74 | 43 74 6c 56 61 6c 75 65 |roll(Get|CtlValue|
|00000af0| 28 68 65 6c 70 53 63 72 | 6f 6c 6c 29 20 2d 20 68 |(helpScr|oll) - h|
|00000b00| 65 6c 70 4c 69 6e 65 29 | 3b 0d 09 45 4c 53 49 46 |elpLine)|;..ELSIF|
|00000b10| 20 74 68 65 50 61 72 74 | 20 23 20 30 20 54 48 45 | thePart| # 0 THE|
|00000b20| 4e 0d 09 09 53 65 74 43 | 52 65 66 43 6f 6e 28 68 |N...SetC|RefCon(h|
|00000b30| 65 6c 70 53 63 72 6f 6c | 6c 2c 20 74 68 65 50 61 |elpScrol|l, thePa|
|00000b40| 72 74 29 3b 0d 09 09 77 | 68 6f 43 61 72 65 73 20 |rt);...w|hoCares |
|00000b50| 3a 3d 20 54 72 61 63 6b | 43 6f 6e 74 72 6f 6c 28 |:= Track|Control(|
|00000b60| 68 65 6c 70 53 63 72 6f | 6c 6c 2c 20 74 68 65 50 |helpScro|ll, theP|
|00000b70| 74 2c 20 41 44 52 28 54 | 72 61 63 6b 53 63 72 6f |t, ADR(T|rackScro|
|00000b80| 6c 6c 29 29 3b 0d 09 45 | 4e 44 3b 0d 45 4e 44 20 |ll));..E|ND;.END |
|00000b90| 48 65 6c 70 57 69 6e 64 | 4d 6f 75 73 65 3b 0d 0d |HelpWind|Mouse;..|
|00000ba0| 0d 28 2a 0d 09 55 70 64 | 61 74 65 20 68 65 6c 70 |.(*..Upd|ate help|
|00000bb0| 20 77 69 6e 64 6f 77 2e | 20 20 54 68 65 20 75 70 | window.| The up|
|00000bc0| 64 61 74 65 20 65 76 65 | 6e 74 20 6d 69 67 68 74 |date eve|nt might|
|00000bd0| 20 62 65 20 69 6e 20 72 | 65 73 70 6f 6e 73 65 20 | be in r|esponse |
|00000be0| 74 6f 20 61 20 77 69 6e | 64 6f 77 0d 09 72 65 73 |to a win|dow..res|
|00000bf0| 69 7a 69 6e 67 2e 20 20 | 49 66 20 73 6f 2c 20 72 |izing. |If so, r|
|00000c00| 65 73 69 7a 65 20 74 68 | 65 20 72 65 63 74 73 20 |esize th|e rects |
|00000c10| 61 6e 64 20 72 65 63 61 | 6c 63 20 74 68 65 20 6c |and reca|lc the l|
|00000c20| 69 6e 65 73 74 61 72 74 | 73 20 6f 66 20 74 68 65 |inestart|s of the|
|00000c30| 20 74 65 78 74 2e 0d 09 | 54 6f 20 72 65 73 69 7a | text...|To resiz|
|00000c40| 65 20 74 68 65 20 72 65 | 63 74 73 2c 20 6f 6e 6c |e the re|cts, onl|
|00000c50| 79 20 74 68 65 20 72 69 | 67 68 74 20 65 64 67 65 |y the ri|ght edge|
|00000c60| 20 6f 66 20 74 68 65 20 | 64 65 73 74 72 65 63 74 | of the |destrect|
|00000c70| 20 6e 65 65 64 20 62 65 | 20 63 68 61 6e 67 65 64 | need be| changed|
|00000c80| 2e 0d 09 54 68 65 20 76 | 69 65 77 52 65 63 74 20 |...The v|iewRect |
|00000c90| 73 68 6f 75 6c 64 20 62 | 65 20 73 69 7a 65 64 20 |should b|e sized |
|00000ca0| 74 6f 20 74 68 65 20 73 | 63 72 65 65 6e 2e 0d 2a |to the s|creen..*|
|00000cb0| 29 0d 0d 50 52 4f 43 45 | 44 55 52 45 20 48 65 6c |)..PROCE|DURE Hel|
|00000cc0| 70 57 69 6e 64 55 70 64 | 61 74 65 28 72 65 73 69 |pWindUpd|ate(resi|
|00000cd0| 7a 65 64 3a 20 42 4f 4f | 4c 45 41 4e 29 3b 0d 0d |zed: BOO|LEAN);..|
|00000ce0| 09 56 41 52 0d 09 09 72 | 3a 20 52 65 63 74 3b 0d |.VAR...r|: Rect;.|
|00000cf0| 09 09 76 69 65 77 4c 69 | 6e 65 73 3a 20 49 4e 54 |..viewLi|nes: INT|
|00000d00| 45 47 45 52 3b 0d 0d 42 | 45 47 49 4e 0d 09 72 20 |EGER;..B|EGIN..r |
|00000d10| 3a 3d 20 68 65 6c 70 57 | 69 6e 64 5e 2e 70 6f 72 |:= helpW|ind^.por|
|00000d20| 74 52 65 63 74 3b 0d 09 | 45 72 61 73 65 52 65 63 |tRect;..|EraseRec|
|00000d30| 74 28 72 29 3b 0d 09 49 | 46 20 72 65 73 69 7a 65 |t(r);..I|F resize|
|00000d40| 64 20 54 48 45 4e 0d 09 | 09 49 4e 43 28 72 2e 6c |d THEN..|.INC(r.l|
|00000d50| 65 66 74 2c 20 34 29 3b | 0d 09 09 44 45 43 28 72 |eft, 4);|...DEC(r|
|00000d60| 2e 62 6f 74 74 6f 6d 2c | 20 32 29 3b 0d 09 09 49 |.bottom,| 2);...I|
|00000d70| 4e 43 28 72 2e 74 6f 70 | 2c 20 32 29 3b 0d 09 09 |NC(r.top|, 2);...|
|00000d80| 44 45 43 28 72 2e 72 69 | 67 68 74 2c 20 31 39 29 |DEC(r.ri|ght, 19)|
|00000d90| 3b 0d 09 09 74 65 48 65 | 6c 70 5e 5e 2e 64 65 73 |;...teHe|lp^^.des|
|00000da0| 74 52 65 63 74 2e 72 69 | 67 68 74 20 3a 3d 20 72 |tRect.ri|ght := r|
|00000db0| 2e 72 69 67 68 74 3b 0d | 09 09 74 65 48 65 6c 70 |.right;.|..teHelp|
|00000dc0| 5e 5e 2e 76 69 65 77 52 | 65 63 74 20 3a 3d 20 72 |^^.viewR|ect := r|
|00000dd0| 3b 0d 09 09 54 45 43 61 | 6c 54 65 78 74 28 74 65 |;...TECa|lText(te|
|00000de0| 48 65 6c 70 29 3b 0d 09 | 0d 09 28 2a 0d 09 09 4d |Help);..|..(*...M|
|00000df0| 6f 76 65 20 61 6e 64 20 | 72 65 73 69 7a 65 20 74 |ove and |resize t|
|00000e00| 68 65 20 73 63 72 6f 6c | 6c 20 62 61 72 20 61 73 |he scrol|l bar as|
|00000e10| 20 77 65 6c 6c 2e 20 20 | 54 68 65 20 56 61 6c 69 | well. |The Vali|
|00000e20| 64 52 65 63 74 20 63 61 | 6c 6c 20 69 73 20 6d 61 |dRect ca|ll is ma|
|00000e30| 64 65 20 62 65 63 61 75 | 73 65 0d 09 09 74 68 65 |de becau|se...the|
|00000e40| 20 48 69 64 65 43 6f 6e | 74 72 6f 6c 20 61 64 64 | HideCon|trol add|
|00000e50| 73 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 20 62 6f |s the co|ntrol bo|
|00000e60| 75 6e 64 73 20 62 6f 78 | 20 74 6f 20 74 68 65 20 |unds box| to the |
|00000e70| 75 70 64 61 74 65 20 72 | 65 67 69 6f 6e 2c 20 77 |update r|egion, w|
|00000e80| 68 69 63 68 0d 09 09 77 | 6f 75 6c 64 20 67 65 6e |hich...w|ould gen|
|00000e90| 65 72 61 74 65 20 61 6e | 6f 74 68 65 72 20 75 70 |erate an|other up|
|00000ea0| 64 61 74 65 20 65 76 65 | 6e 74 21 20 20 53 69 6e |date eve|nt! Sin|
|00000eb0| 63 65 20 65 76 65 72 79 | 74 68 69 6e 67 20 67 65 |ce every|thing ge|
|00000ec0| 74 73 20 64 72 61 77 6e | 20 62 65 6c 6f 77 2c 0d |ts drawn| below,.|
|00000ed0| 09 09 74 68 65 20 56 61 | 6c 69 64 52 65 63 74 20 |..the Va|lidRect |
|00000ee0| 69 73 20 75 73 65 64 20 | 74 6f 20 70 72 65 76 65 |is used |to preve|
|00000ef0| 6e 74 20 74 68 65 20 65 | 78 74 72 61 20 75 70 64 |nt the e|xtra upd|
|00000f00| 61 74 65 2e 0d 09 2a 29 | 0d 09 0d 09 09 76 69 65 |ate...*)|.....vie|
|00000f10| 77 4c 69 6e 65 73 20 3a | 3d 20 28 72 2e 62 6f 74 |wLines :|= (r.bot|
|00000f20| 74 6f 6d 20 2d 20 72 2e | 74 6f 70 29 20 44 49 56 |tom - r.|top) DIV|
|00000f30| 20 74 65 48 65 6c 70 5e | 5e 2e 6c 69 6e 65 48 65 | teHelp^|^.lineHe|
|00000f40| 69 67 68 74 3b 0d 09 09 | 68 65 6c 70 53 63 72 6f |ight;...|helpScro|
|00000f50| 6c 6c 4c 69 6e 65 73 20 | 3a 3d 20 74 65 48 65 6c |llLines |:= teHel|
|00000f60| 70 5e 5e 2e 6e 4c 69 6e | 65 73 20 2d 20 76 69 65 |p^^.nLin|es - vie|
|00000f70| 77 4c 69 6e 65 73 3b 0d | 09 09 68 61 6c 66 50 61 |wLines;.|..halfPa|
|00000f80| 67 65 20 3a 3d 20 76 69 | 65 77 4c 69 6e 65 73 20 |ge := vi|ewLines |
|00000f90| 44 49 56 20 32 3b 0d 09 | 09 0d 09 09 48 69 64 65 |DIV 2;..|....Hide|
|00000fa0| 43 6f 6e 74 72 6f 6c 28 | 68 65 6c 70 53 63 72 6f |Control(|helpScro|
|00000fb0| 6c 6c 29 3b 0d 09 09 72 | 20 3a 3d 20 68 65 6c 70 |ll);...r| := help|
|00000fc0| 53 63 72 6f 6c 6c 5e 5e | 2e 63 6f 6e 74 72 6c 52 |Scroll^^|.contrlR|
|00000fd0| 65 63 74 3b 0d 09 09 56 | 61 6c 69 64 52 65 63 74 |ect;...V|alidRect|
|00000fe0| 28 72 29 3b 0d 09 09 72 | 20 3a 3d 20 68 65 6c 70 |(r);...r| := help|
|00000ff0| 57 69 6e 64 5e 2e 70 6f | 72 74 52 65 63 74 3b 0d |Wind^.po|rtRect;.|
|00001000| 09 09 72 2e 6c 65 66 74 | 20 3a 3d 20 72 2e 72 69 |..r.left| := r.ri|
|00001010| 67 68 74 20 2d 20 31 35 | 3b 0d 09 09 44 45 43 28 |ght - 15|;...DEC(|
|00001020| 72 2e 62 6f 74 74 6f 6d | 2c 20 31 34 29 3b 0d 09 |r.bottom|, 14);..|
|00001030| 09 44 45 43 28 72 2e 74 | 6f 70 29 3b 0d 09 09 49 |.DEC(r.t|op);...I|
|00001040| 4e 43 28 72 2e 72 69 67 | 68 74 29 3b 0d 09 09 53 |NC(r.rig|ht);...S|
|00001050| 69 7a 65 43 6f 6e 74 72 | 6f 6c 28 68 65 6c 70 53 |izeContr|ol(helpS|
|00001060| 63 72 6f 6c 6c 2c 20 72 | 2e 72 69 67 68 74 20 2d |croll, r|.right -|
|00001070| 20 72 2e 6c 65 66 74 2c | 20 72 2e 62 6f 74 74 6f | r.left,| r.botto|
|00001080| 6d 20 2d 20 72 2e 74 6f | 70 29 3b 0d 09 09 4d 6f |m - r.to|p);...Mo|
|00001090| 76 65 43 6f 6e 74 72 6f | 6c 28 68 65 6c 70 53 63 |veContro|l(helpSc|
|000010a0| 72 6f 6c 6c 2c 20 72 2e | 6c 65 66 74 2c 20 72 2e |roll, r.|left, r.|
|000010b0| 74 6f 70 29 3b 0d 09 09 | 53 65 74 43 74 6c 4d 61 |top);...|SetCtlMa|
|000010c0| 78 28 68 65 6c 70 53 63 | 72 6f 6c 6c 2c 20 68 65 |x(helpSc|roll, he|
|000010d0| 6c 70 53 63 72 6f 6c 6c | 4c 69 6e 65 73 29 3b 0d |lpScroll|Lines);.|
|000010e0| 09 09 28 2a 0d 09 09 09 | 53 74 72 61 6e 67 65 20 |..(*....|Strange |
|000010f0| 65 78 70 72 65 73 73 69 | 6f 6e 20 66 6f 6c 6c 6f |expressi|on follo|
|00001100| 77 69 6e 67 2c 20 62 75 | 74 20 74 68 65 20 64 69 |wing, bu|t the di|
|00001110| 73 74 72 69 62 75 74 69 | 6f 6e 20 63 6f 70 79 20 |stributi|on copy |
|00001120| 69 6e 20 43 20 68 61 64 | 3a 0d 09 09 09 09 69 66 |in C had|:.....if|
|00001130| 20 28 68 65 6c 70 53 63 | 72 6f 6c 6c 4c 69 6e 65 | (helpSc|rollLine|
|00001140| 73 20 3c 3d 20 30 29 0d | 09 09 09 09 09 48 69 6c |s <= 0).|.....Hil|
|00001150| 69 74 65 43 6f 6e 74 72 | 6f 6c 28 68 65 6c 70 53 |iteContr|ol(helpS|
|00001160| 63 72 6f 6c 6c 2c 20 28 | 68 65 6c 70 53 63 72 6f |croll, (|helpScro|
|00001170| 6c 6c 4c 69 6e 65 73 20 | 3e 20 30 20 3f 20 30 20 |llLines |> 0 ? 0 |
|00001180| 3a 20 32 35 35 29 29 3b | 0d 09 09 09 54 68 69 73 |: 255));|....This|
|00001190| 20 6c 65 66 74 20 63 6f | 6e 74 72 6f 6c 73 20 69 | left co|ntrols i|
|000011a0| 6e 20 66 75 6e 6e 79 20 | 73 74 61 74 65 20 d1 20 |n funny |state . |
|000011b0| 63 68 61 6e 67 65 64 20 | 66 69 72 73 74 20 74 65 |changed |first te|
|000011c0| 73 74 2e 0d 09 09 2a 29 | 0d 09 09 49 46 20 68 65 |st....*)|...IF he|
|000011d0| 6c 70 53 63 72 6f 6c 6c | 4c 69 6e 65 73 20 3e 3d |lpScroll|Lines >=|
|000011e0| 20 30 20 54 48 45 4e 20 | 0d 09 09 09 49 46 20 68 | 0 THEN |....IF h|
|000011f0| 65 6c 70 53 63 72 6f 6c | 6c 4c 69 6e 65 73 20 3e |elpScrol|lLines >|
|00001200| 20 30 20 54 48 45 4e 20 | 48 69 6c 69 74 65 43 6f | 0 THEN |HiliteCo|
|00001210| 6e 74 72 6f 6c 28 68 65 | 6c 70 53 63 72 6f 6c 6c |ntrol(he|lpScroll|
|00001220| 2c 20 30 29 3b 0d 09 09 | 09 45 4c 53 45 20 48 69 |, 0);...|.ELSE Hi|
|00001230| 6c 69 74 65 43 6f 6e 74 | 72 6f 6c 28 68 65 6c 70 |liteCont|rol(help|
|00001240| 53 63 72 6f 6c 6c 2c 20 | 32 35 35 29 3b 20 45 4e |Scroll, |255); EN|
|00001250| 44 3b 0d 09 09 45 4e 44 | 3b 0d 09 09 53 68 6f 77 |D;...END|;...Show|
|00001260| 43 6f 6e 74 72 6f 6c 28 | 68 65 6c 70 53 63 72 6f |Control(|helpScro|
|00001270| 6c 6c 29 3b 0d 09 09 49 | 46 20 47 65 74 43 74 6c |ll);...I|F GetCtl|
|00001280| 56 61 6c 75 65 28 68 65 | 6c 70 53 63 72 6f 6c 6c |Value(he|lpScroll|
|00001290| 29 20 3e 20 68 65 6c 70 | 53 63 72 6f 6c 6c 4c 69 |) > help|ScrollLi|
|000012a0| 6e 65 73 20 54 48 45 4e | 0d 09 09 09 44 6f 53 63 |nes THEN|....DoSc|
|000012b0| 72 6f 6c 6c 28 47 65 74 | 43 74 6c 56 61 6c 75 65 |roll(Get|CtlValue|
|000012c0| 28 68 65 6c 70 53 63 72 | 6f 6c 6c 29 20 2d 20 68 |(helpScr|oll) - h|
|000012d0| 65 6c 70 53 63 72 6f 6c | 6c 4c 69 6e 65 73 29 3b |elpScrol|lLines);|
|000012e0| 0d 09 09 45 4e 44 3b 0d | 09 45 4e 44 3b 0d 09 44 |...END;.|.END;..D|
|000012f0| 72 61 77 47 72 6f 77 42 | 6f 78 28 68 65 6c 70 57 |rawGrowB|ox(helpW|
|00001300| 69 6e 64 29 3b 0d 09 44 | 72 61 77 43 6f 6e 74 72 |ind);..D|rawContr|
|00001310| 6f 6c 73 28 68 65 6c 70 | 57 69 6e 64 29 3b 0d 09 |ols(help|Wind);..|
|00001320| 72 20 3a 3d 20 74 65 48 | 65 6c 70 5e 5e 2e 76 69 |r := teH|elp^^.vi|
|00001330| 65 77 52 65 63 74 3b 0d | 09 54 45 55 70 64 61 74 |ewRect;.|.TEUpdat|
|00001340| 65 28 72 2c 20 74 65 48 | 65 6c 70 29 3b 0d 45 4e |e(r, teH|elp);.EN|
|00001350| 44 20 48 65 6c 70 57 69 | 6e 64 55 70 64 61 74 65 |D HelpWi|ndUpdate|
|00001360| 3b 0d 0d 0d 28 2a 0d 09 | 57 68 65 6e 20 74 68 65 |;...(*..|When the|
|00001370| 20 77 69 6e 64 6f 77 20 | 63 6f 6d 65 73 20 61 63 | window |comes ac|
|00001380| 74 69 76 65 2c 20 64 69 | 73 61 62 6c 65 20 74 68 |tive, di|sable th|
|00001390| 65 20 45 64 69 74 20 6d | 65 6e 75 20 61 6e 64 20 |e Edit m|enu and |
|000013a0| 68 69 67 68 6c 69 67 68 | 74 20 74 68 65 20 73 63 |highligh|t the sc|
|000013b0| 72 6f 6c 6c 0d 09 62 61 | 72 20 69 66 20 74 65 72 |roll..ba|r if ter|
|000013c0| 65 20 61 72 65 20 61 6e | 79 20 6c 69 6e 65 73 20 |e are an|y lines |
|000013d0| 6e 6f 74 20 76 69 73 69 | 62 6c 65 20 69 6e 20 74 |not visi|ble in t|
|000013e0| 68 65 20 63 6f 6e 74 65 | 6e 74 20 72 65 67 69 6f |he conte|nt regio|
|000013f0| 6e 2e 20 20 57 68 65 6e | 20 74 68 65 0d 09 77 69 |n. When| the..wi|
|00001400| 6e 64 6f 77 20 69 73 20 | 64 65 61 63 74 69 76 61 |ndow is |deactiva|
|00001410| 74 65 64 2c 20 65 6e 61 | 62 6c 65 20 74 68 65 20 |ted, ena|ble the |
|00001420| 45 64 69 74 20 6d 65 6e | 75 20 61 6e 64 20 75 6e |Edit men|u and un|
|00001430| 68 69 67 68 6c 69 67 68 | 74 20 74 68 65 20 73 63 |highligh|t the sc|
|00001440| 72 6f 6c 6c 20 62 61 72 | 2e 0d 2a 29 0d 0d 50 52 |roll bar|..*)..PR|
|00001450| 4f 43 45 44 55 52 45 20 | 48 65 6c 70 57 69 6e 64 |OCEDURE |HelpWind|
|00001460| 41 63 74 69 76 61 74 65 | 28 61 63 74 69 76 65 3a |Activate|(active:|
|00001470| 20 42 4f 4f 4c 45 41 4e | 29 3b 0d 0d 42 45 47 49 | BOOLEAN|);..BEGI|
|00001480| 4e 0d 09 44 72 61 77 47 | 72 6f 77 42 6f 78 28 68 |N..DrawG|rowBox(h|
|00001490| 65 6c 70 57 69 6e 64 29 | 3b 0d 09 49 46 20 61 63 |elpWind)|;..IF ac|
|000014a0| 74 69 76 65 20 54 48 45 | 4e 0d 09 09 44 69 73 61 |tive THE|N...Disa|
|000014b0| 62 6c 65 49 74 65 6d 28 | 65 64 69 74 4d 65 6e 75 |bleItem(|editMenu|
|000014c0| 2c 20 30 29 3b 0d 09 09 | 49 46 20 68 65 6c 70 53 |, 0);...|IF helpS|
|000014d0| 63 72 6f 6c 6c 4c 69 6e | 65 73 20 3e 20 30 20 54 |crollLin|es > 0 T|
|000014e0| 48 45 4e 20 48 69 6c 69 | 74 65 43 6f 6e 74 72 6f |HEN Hili|teContro|
|000014f0| 6c 28 68 65 6c 70 53 63 | 72 6f 6c 6c 2c 20 30 29 |l(helpSc|roll, 0)|
|00001500| 3b 0d 09 09 45 4c 53 45 | 20 48 69 6c 69 74 65 43 |;...ELSE| HiliteC|
|00001510| 6f 6e 74 72 6f 6c 28 68 | 65 6c 70 53 63 72 6f 6c |ontrol(h|elpScrol|
|00001520| 6c 2c 20 32 35 35 29 3b | 20 45 4e 44 3b 0d 09 45 |l, 255);| END;..E|
|00001530| 4c 53 45 0d 09 09 45 6e | 61 62 6c 65 49 74 65 6d |LSE...En|ableItem|
|00001540| 28 65 64 69 74 4d 65 6e | 75 2c 20 30 29 3b 0d 09 |(editMen|u, 0);..|
|00001550| 09 48 69 6c 69 74 65 43 | 6f 6e 74 72 6f 6c 28 68 |.HiliteC|ontrol(h|
|00001560| 65 6c 70 53 63 72 6f 6c | 6c 2c 20 32 35 35 29 3b |elpScrol|l, 255);|
|00001570| 0d 09 45 4e 44 3b 0d 09 | 44 72 61 77 4d 65 6e 75 |..END;..|DrawMenu|
|00001580| 42 61 72 3b 0d 45 4e 44 | 20 48 65 6c 70 57 69 6e |Bar;.END| HelpWin|
|00001590| 64 41 63 74 69 76 61 74 | 65 3b 0d 0d 0d 50 52 4f |dActivat|e;...PRO|
|000015a0| 43 45 44 55 52 45 20 48 | 65 6c 70 57 69 6e 64 49 |CEDURE H|elpWindI|
|000015b0| 6e 69 74 3b 0d 0d 09 56 | 41 52 0d 09 09 72 3a 20 |nit;...V|AR...r: |
|000015c0| 52 65 63 74 3b 0d 09 09 | 74 65 78 74 48 61 6e 64 |Rect;...|textHand|
|000015d0| 6c 65 3a 20 41 44 44 52 | 45 53 53 3b 0d 09 09 76 |le: ADDR|ESS;...v|
|000015e0| 69 65 77 4c 69 6e 65 73 | 3a 20 49 4e 54 45 47 45 |iewLines|: INTEGE|
|000015f0| 52 3b 0d 09 09 61 43 68 | 48 64 6c 3a 20 43 68 61 |R;...aCh|Hdl: Cha|
|00001600| 72 73 48 61 6e 64 6c 65 | 3b 0d 0d 42 45 47 49 4e |rsHandle|;..BEGIN|
|00001610| 0d 09 68 65 6c 70 57 69 | 6e 64 20 3a 3d 20 47 65 |..helpWi|nd := Ge|
|00001620| 74 4e 65 77 57 69 6e 64 | 6f 77 28 68 65 6c 70 57 |tNewWind|ow(helpW|
|00001630| 69 6e 64 52 65 73 2c 20 | 56 41 4c 28 41 44 44 52 |indRes, |VAL(ADDR|
|00001640| 45 53 53 2c 20 4e 49 4c | 29 2c 20 56 41 4c 28 57 |ESS, NIL|), VAL(W|
|00001650| 69 6e 64 6f 77 50 74 72 | 2c 20 2d 31 44 29 29 3b |indowPtr|, -1D));|
|00001660| 0d 09 53 6b 65 6c 57 69 | 6e 64 6f 77 28 09 68 65 |..SkelWi|ndow(.he|
|00001670| 6c 70 57 69 6e 64 2c 0d | 09 09 09 09 09 09 09 48 |lpWind,.|.......H|
|00001680| 65 6c 70 57 69 6e 64 4d | 6f 75 73 65 2c 09 09 09 |elpWindM|ouse,...|
|00001690| 09 09 28 2a 20 4d 6f 75 | 73 65 20 63 6c 69 63 6b |..(* Mou|se click|
|000016a0| 20 68 61 6e 64 6c 65 72 | 20 2a 29 0d 09 09 09 09 | handler| *).....|
|000016b0| 09 09 09 56 41 4c 28 57 | 4b 65 79 50 72 6f 63 2c |...VAL(W|KeyProc,|
|000016c0| 20 4e 49 4c 29 2c 09 09 | 09 28 2a 20 4b 65 79 20 | NIL),..|.(* Key |
|000016d0| 63 6c 69 63 6b 20 68 61 | 6e 64 6c 65 72 20 2a 29 |click ha|ndler *)|
|000016e0| 0d 09 09 09 09 09 09 09 | 48 65 6c 70 57 69 6e 64 |........|HelpWind|
|000016f0| 55 70 64 61 74 65 2c 09 | 09 09 09 09 28 2a 20 55 |Update,.|....(* U|
|00001700| 70 64 61 74 65 20 65 76 | 65 6e 74 20 68 61 6e 64 |pdate ev|ent hand|
|00001710| 6c 65 72 20 2a 29 0d 09 | 09 09 09 09 09 09 48 65 |ler *)..|......He|
|00001720| 6c 70 57 69 6e 64 41 63 | 74 69 76 61 74 65 2c 09 |lpWindAc|tivate,.|
|00001730| 09 09 09 28 2a 20 41 63 | 74 69 76 61 74 65 2f 64 |...(* Ac|tivate/d|
|00001740| 65 61 63 74 69 76 61 74 | 65 20 65 76 65 6e 74 20 |eactivat|e event |
|00001750| 68 61 6e 64 6c 65 72 20 | 2a 29 0d 09 09 09 09 09 |handler |*)......|
|00001760| 09 09 56 41 4c 28 57 43 | 6c 6f 73 65 50 72 6f 63 |..VAL(WC|loseProc|
|00001770| 2c 20 4e 49 4c 29 2c 09 | 09 28 2a 20 4e 6f 20 63 |, NIL),.|.(* No c|
|00001780| 6c 6f 73 65 20 68 61 6e | 64 6c 65 72 20 2a 29 0d |lose han|dler *).|
|00001790| 09 09 09 09 09 09 09 48 | 65 6c 70 57 69 6e 64 48 |.......H|elpWindH|
|000017a0| 61 6c 74 2c 09 09 09 09 | 09 09 28 2a 20 43 6c 6f |alt,....|..(* Clo|
|000017b0| 62 62 65 72 20 70 72 6f | 63 20 2a 29 0d 09 09 09 |bber pro|c *)....|
|000017c0| 09 09 09 09 56 41 4c 28 | 57 49 64 6c 65 50 72 6f |....VAL(|WIdlePro|
|000017d0| 63 2c 20 4e 49 4c 29 2c | 09 09 28 2a 20 4e 6f 20 |c, NIL),|..(* No |
|000017e0| 69 64 6c 65 20 70 72 6f | 63 20 66 6f 72 20 74 68 |idle pro|c for th|
|000017f0| 65 20 68 65 6c 70 20 77 | 69 6e 64 6f 77 20 2a 29 |e help w|indow *)|
|00001800| 0d 09 09 09 09 09 09 09 | 54 52 55 45 29 3b 09 09 |........|TRUE);..|
|00001810| 09 09 09 09 09 09 09 28 | 2a 20 44 6f 65 73 6e 27 |.......(|* Doesn'|
|00001820| 74 20 72 65 61 6c 6c 79 | 20 6d 61 74 74 65 72 20 |t really| matter |
|00001830| 73 69 6e 63 65 20 6e 6f | 20 69 64 6c 65 20 2a 29 |since no| idle *)|
|00001840| 0d 09 0d 09 54 65 78 74 | 46 6f 6e 74 28 30 29 3b |....Text|Font(0);|
|00001850| 0d 09 54 65 78 74 53 69 | 7a 65 28 30 29 3b 0d 09 |..TextSi|ze(0);..|
|00001860| 0d 09 72 20 3a 3d 20 68 | 65 6c 70 57 69 6e 64 5e |..r := h|elpWind^|
|00001870| 2e 70 6f 72 74 52 65 63 | 74 3b 0d 09 49 4e 43 28 |.portRec|t;..INC(|
|00001880| 72 2e 6c 65 66 74 2c 20 | 34 29 3b 0d 09 44 45 43 |r.left, |4);..DEC|
|00001890| 28 72 2e 62 6f 74 74 6f | 6d 2c 20 32 29 3b 0d 09 |(r.botto|m, 2);..|
|000018a0| 49 4e 43 28 72 2e 74 6f | 70 2c 20 32 29 3b 0d 09 |INC(r.to|p, 2);..|
|000018b0| 44 45 43 28 72 2e 72 69 | 67 68 74 2c 20 31 39 29 |DEC(r.ri|ght, 19)|
|000018c0| 3b 0d 09 74 65 48 65 6c | 70 20 3a 3d 20 54 45 4e |;..teHel|p := TEN|
|000018d0| 65 77 28 72 2c 20 72 29 | 3b 0d 09 74 65 78 74 48 |ew(r, r)|;..textH|
|000018e0| 61 6e 64 6c 65 20 3a 3d | 20 47 65 74 52 65 73 6f |andle :=| GetReso|
|000018f0| 75 72 63 65 28 22 54 45 | 58 54 22 2c 20 68 65 6c |urce("TE|XT", hel|
|00001900| 70 54 65 78 74 52 65 73 | 29 3b 09 28 2a 20 52 65 |pTextRes|);.(* Re|
|00001910| 61 64 20 74 68 65 20 68 | 65 6c 70 20 74 65 78 74 |ad the h|elp text|
|00001920| 20 2a 29 0d 09 61 43 68 | 48 64 6c 20 3a 3d 20 56 | *)..aCh|Hdl := V|
|00001930| 41 4c 28 43 68 61 72 73 | 48 61 6e 64 6c 65 2c 20 |AL(Chars|Handle, |
|00001940| 74 65 78 74 48 61 6e 64 | 6c 65 29 3b 0d 09 48 4c |textHand|le);..HL|
|00001950| 6f 63 6b 28 74 65 78 74 | 48 61 6e 64 6c 65 29 3b |ock(text|Handle);|
|00001960| 0d 09 54 45 49 6e 73 65 | 72 74 28 61 43 68 48 64 |..TEInse|rt(aChHd|
|00001970| 6c 5e 2c 20 47 65 74 48 | 61 6e 64 6c 65 53 69 7a |l^, GetH|andleSiz|
|00001980| 65 28 74 65 78 74 48 61 | 6e 64 6c 65 29 2c 20 74 |e(textHa|ndle), t|
|00001990| 65 48 65 6c 70 29 3b 0d | 09 48 55 6e 6c 6f 63 6b |eHelp);.|.HUnlock|
|000019a0| 28 74 65 78 74 48 61 6e | 64 6c 65 29 3b 0d 09 52 |(textHan|dle);..R|
|000019b0| 65 6c 65 61 73 65 52 65 | 73 6f 75 72 63 65 28 74 |eleaseRe|source(t|
|000019c0| 65 78 74 48 61 6e 64 6c | 65 29 3b 09 28 2a 20 44 |extHandl|e);.(* D|
|000019d0| 6f 6e 65 20 77 69 74 68 | 20 69 74 20 2d 20 43 69 |one with| it - Ci|
|000019e0| 61 6f 20 2a 29 0d 09 0d | 28 2a 0d 09 4e 6f 77 2c |ao *)...|(*..Now,|
|000019f0| 20 66 69 67 75 72 65 20 | 6f 75 74 20 68 6f 77 20 | figure |out how |
|00001a00| 6d 61 6e 79 20 6c 69 6e | 65 73 20 77 69 6c 6c 20 |many lin|es will |
|00001a10| 66 69 74 20 69 6e 20 74 | 68 65 20 77 69 6e 64 6f |fit in t|he windo|
|00001a20| 77 20 61 6e 64 20 68 6f | 77 20 6d 61 6e 79 20 77 |w and ho|w many w|
|00001a30| 69 6c 6c 20 6e 6f 74 2e | 0d 09 44 65 74 65 72 6d |ill not.|..Determ|
|00001a40| 69 6e 65 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ine the |number o|
|00001a50| 66 20 6c 69 6e 65 73 20 | 69 6e 20 68 61 6c 66 20 |f lines |in half |
|00001a60| 61 20 77 69 6e 64 6f 77 | 20 66 6f 72 20 75 73 65 |a window| for use|
|00001a70| 20 69 6e 20 74 72 61 63 | 6b 69 6e 67 20 63 6c 69 | in trac|king cli|
|00001a80| 63 6b 73 20 69 6e 0d 09 | 74 68 65 20 70 61 67 65 |cks in..|the page|
|00001a90| 20 75 70 20 61 6e 64 20 | 70 61 67 65 20 64 6f 77 | up and |page dow|
|00001aa0| 6e 20 72 65 67 69 6f 6e | 73 20 6f 66 20 74 68 65 |n region|s of the|
|00001ab0| 20 73 63 72 6f 6c 6c 20 | 62 61 72 2e 20 20 54 68 | scroll |bar. Th|
|00001ac0| 65 6e 20 63 72 65 61 74 | 65 20 74 68 65 20 73 63 |en creat|e the sc|
|00001ad0| 72 6f 6c 6c 0d 09 62 61 | 72 2e 20 20 4d 61 6b 65 |roll..ba|r. Make|
|00001ae0| 20 73 75 72 65 20 74 68 | 65 20 62 6f 72 64 65 72 | sure th|e border|
|00001af0| 73 20 6f 76 65 72 6c 61 | 70 20 74 68 65 20 77 69 |s overla|p the wi|
|00001b00| 6e 64 6f 77 20 66 72 61 | 6d 65 20 61 6e 64 20 67 |ndow fra|me and g|
|00001b10| 72 6f 77 20 62 6f 78 20 | 66 72 61 6d 65 2e 0d 2a |row box |frame..*|
|00001b20| 29 0d 09 76 69 65 77 4c | 69 6e 65 73 20 3a 3d 20 |)..viewL|ines := |
|00001b30| 28 72 2e 62 6f 74 74 6f | 6d 20 2d 20 72 2e 74 6f |(r.botto|m - r.to|
|00001b40| 70 29 20 44 49 56 20 74 | 65 48 65 6c 70 5e 5e 2e |p) DIV t|eHelp^^.|
|00001b50| 6c 69 6e 65 48 65 69 67 | 68 74 3b 0d 09 68 65 6c |lineHeig|ht;..hel|
|00001b60| 70 53 63 72 6f 6c 6c 4c | 69 6e 65 73 20 3a 3d 20 |pScrollL|ines := |
|00001b70| 74 65 48 65 6c 70 5e 5e | 2e 6e 4c 69 6e 65 73 20 |teHelp^^|.nLines |
|00001b80| 2d 20 76 69 65 77 4c 69 | 6e 65 73 3b 0d 09 68 61 |- viewLi|nes;..ha|
|00001b90| 6c 66 50 61 67 65 20 3a | 3d 20 76 69 65 77 4c 69 |lfPage :|= viewLi|
|00001ba0| 6e 65 73 20 44 49 56 20 | 32 3b 0d 09 68 65 6c 70 |nes DIV |2;..help|
|00001bb0| 4c 69 6e 65 20 3a 3d 20 | 30 3b 0d 09 72 20 3a 3d |Line := |0;..r :=|
|00001bc0| 20 68 65 6c 70 57 69 6e | 64 5e 2e 70 6f 72 74 52 | helpWin|d^.portR|
|00001bd0| 65 63 74 3b 0d 09 72 2e | 6c 65 66 74 20 3a 3d 20 |ect;..r.|left := |
|00001be0| 72 2e 72 69 67 68 74 20 | 2d 20 31 35 3b 0d 09 44 |r.right |- 15;..D|
|00001bf0| 45 43 28 72 2e 62 6f 74 | 74 6f 6d 2c 20 31 34 29 |EC(r.bot|tom, 14)|
|00001c00| 3b 0d 09 44 45 43 28 72 | 2e 74 6f 70 29 3b 0d 09 |;..DEC(r|.top);..|
|00001c10| 49 4e 43 28 72 2e 72 69 | 67 68 74 29 3b 0d 09 0d |INC(r.ri|ght);...|
|00001c20| 09 28 2a 0d 09 09 42 75 | 69 6c 64 20 74 68 65 20 |.(*...Bu|ild the |
|00001c30| 73 63 72 6f 6c 6c 20 62 | 61 72 2e 20 20 44 6f 6e |scroll b|ar. Don|
|00001c40| 27 74 20 6e 65 65 64 20 | 74 6f 20 62 6f 74 68 65 |'t need |to bothe|
|00001c50| 72 20 74 65 73 74 69 6e | 67 20 77 68 65 74 68 65 |r testin|g whethe|
|00001c60| 72 20 74 6f 20 68 69 67 | 68 6c 69 67 68 74 20 69 |r to hig|hlight i|
|00001c70| 74 0d 09 09 6f 72 20 6e | 6f 74 2c 20 73 69 6e 63 |t...or n|ot, sinc|
|00001c80| 65 20 74 68 61 74 20 77 | 69 6c 6c 20 62 65 20 64 |e that w|ill be d|
|00001c90| 6f 6e 65 20 69 6e 20 72 | 65 73 70 6f 6e 73 65 20 |one in r|esponse |
|00001ca0| 74 6f 20 74 68 65 20 61 | 63 74 69 76 61 74 65 20 |to the a|ctivate |
|00001cb0| 65 76 65 6e 74 2e 0d 09 | 2a 29 0d 09 68 65 6c 70 |event...|*)..help|
|00001cc0| 53 63 72 6f 6c 6c 20 3a | 3d 20 4e 65 77 43 6f 6e |Scroll :|= NewCon|
|00001cd0| 74 72 6f 6c 28 68 65 6c | 70 57 69 6e 64 2c 20 72 |trol(hel|pWind, r|
|00001ce0| 2c 20 27 27 2c 20 54 52 | 55 45 2c 20 68 65 6c 70 |, '', TR|UE, help|
|00001cf0| 4c 69 6e 65 2c 20 30 2c | 20 68 65 6c 70 53 63 72 |Line, 0,| helpScr|
|00001d00| 6f 6c 6c 4c 69 6e 65 73 | 2c 0d 09 09 09 09 09 09 |ollLines|,.......|
|00001d10| 09 09 09 09 09 09 09 20 | 73 63 72 6f 6c 6c 42 61 |....... |scrollBa|
|00001d20| 72 50 72 6f 63 2c 20 30 | 44 29 3b 0d 09 0d 09 28 |rProc, 0|D);....(|
|00001d30| 2a 0d 09 09 47 65 74 4e | 65 77 57 69 6e 64 6f 77 |*...GetN|ewWindow|
|00001d40| 20 67 65 6e 65 72 61 74 | 65 73 20 75 70 64 61 74 | generat|es updat|
|00001d50| 65 20 65 76 65 6e 74 20 | 66 6f 72 20 74 68 65 20 |e event |for the |
|00001d60| 65 6e 74 69 72 65 20 70 | 6f 72 74 72 65 63 74 2e |entire p|ortrect.|
|00001d70| 20 20 43 61 6e 63 65 6c | 20 69 74 2c 0d 09 09 73 | Cancel| it,...s|
|00001d80| 69 6e 63 65 20 65 76 65 | 72 79 74 68 69 6e 67 20 |ince eve|rything |
|00001d90| 68 61 73 20 62 65 65 6e | 20 64 72 61 77 6e 20 61 |has been| drawn a|
|00001da0| 6c 72 65 61 64 79 2c 20 | 65 78 63 65 70 74 20 66 |lready, |except f|
|00001db0| 6f 72 20 74 68 65 20 67 | 72 6f 77 20 62 6f 78 20 |or the g|row box |
|00001dc0| 77 68 69 63 68 0d 09 09 | 77 69 6c 6c 20 62 65 20 |which...|will be |
|00001dd0| 64 72 61 77 6e 20 69 6e | 20 72 65 73 70 6f 6e 73 |drawn in| respons|
|00001de0| 65 20 74 6f 20 74 68 65 | 20 61 63 74 69 76 61 74 |e to the| activat|
|00001df0| 65 20 65 76 65 6e 74 2e | 0d 09 2a 29 0d 09 56 61 |e event.|..*)..Va|
|00001e00| 6c 69 64 52 65 63 74 28 | 68 65 6c 70 57 69 6e 64 |lidRect(|helpWind|
|00001e10| 5e 2e 70 6f 72 74 52 65 | 63 74 29 3b 0d 45 4e 44 |^.portRe|ct);.END|
|00001e20| 20 48 65 6c 70 57 69 6e | 64 49 6e 69 74 3b 0d 0d | HelpWin|dInit;..|
|00001e30| 45 4e 44 20 4d 75 6c 74 | 69 53 6b 65 6c 48 65 6c |END Mult|iSkelHel|
|00001e40| 70 2e 0d 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |p.......|........|
|00001e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e80| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00001e90| 69 74 3b 0d 0d 45 4e 44 | 20 4d 75 6c 74 69 53 6b |it;..END| MultiSk|
|00001ea0| 65 6c 48 65 6c 70 2e 0d | 0d 2d 73 6e 20 53 54 44 |elHelp..|.-sn STD|
|00001eb0| 1a 31 2e 20 44 44 45 78 | 70 61 6e 64 45 78 70 61 |.1. DDEx|pandExpa|
|00001ec0| 6e 64 54 65 6d 70 46 69 | 6c 65 20 78 02 00 00 00 |ndTempFi|le x....|
|00001ed0| 00 00 44 44 54 4d 44 44 | 41 50 01 00 00 00 00 00 |..DDTMDD|AP......|
|00001ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ef0| 00 00 a5 f4 97 75 00 00 | 1d c4 00 00 01 7e 36 20 |.....u..|.....~6 |
|00001f00| b6 0d 09 2d 6f 20 20 43 | 6f 75 6e 74 2e 63 6f 64 |...-o C|ount.cod|
|00001f10| 65 20 b6 0d 09 43 6f 75 | 6e 74 2e 63 2e 6f 20 53 |e ...Cou|nt.c.o S|
|00001f20| 74 75 62 73 2e 63 2e 6f | 20 b6 0d 09 22 68 64 3a |tubs.c.o| ..."hd:|
|00001f30| 4d 50 57 3a 4c 69 62 72 | 61 72 69 65 73 3a 22 54 |MPW:Libr|aries:"T|
|00001f40| 6f 6f 6c 4c 69 62 73 2e | 6f 20 b6 0d 09 22 68 64 |oolLibs.|o ..."hd|
|00001f50| 3a 4d 50 57 3a 43 4c 69 | 62 72 61 72 69 65 73 3a |:MPW:CLi|braries:|
|00001f60| 22 43 52 75 6e 74 69 6d | 65 2e 6f 20 b6 0d 09 22 |"CRuntim|e.o ..."|
|00001f70| 68 64 3a 4d 50 57 3a 43 | 4c 69 62 72 61 72 69 65 |hd:MPW:C|Librarie|
|00001f80| 00 00 00 48 00 0a 43 6f | 75 72 69 65 72 00 52 54 |...H..Co|urier.RT|
|00001f90| 20 41 44 44 52 45 53 53 | 3b 0d 46 52 4f 4d 20 51 | ADDRESS|;.FROM Q|
|00001fa0| 75 69 63 6b 44 72 00 06 | 00 02 00 29 00 03 01 53 |uickDr..|...)...S|
|00001fb0| 01 fd 00 29 00 03 01 54 | 01 a9 9c ac 39 93 00 00 |...)...T|....9...|
|00001fc0| 00 4f 00 00 00 4f 00 00 | 00 00 01 00 00 00 01 00 |.O...O..|........|
|00001fd0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 00 cc 28 |...L...L|...2...(|
|00001fe0| 02 94 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00001ff0| 00 0a 03 ed ff ff 00 00 | 00 00 00 01 ab 9e 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+